<script src="<?php bloginfo('template_directory'); ?>/js/infinite-scroll.pkgd.min.js"></script>

<script type="text/javascript">
(function($) {
//top_menu_bar_fixed
var top_menu_bar=$('.top_menu_bar');
var h = top_menu_bar.offset().top+top_menu_bar.height();
$(window).on('scroll',function() {
	var st = $(window).scrollTop();
	if(st>h){
		!top_menu_bar.hasClass('top_menu_bar_fixed')&&top_menu_bar.addClass('top_menu_bar_fixed')
	}else{
		top_menu_bar.hasClass('top_menu_bar_fixed')&&top_menu_bar.removeClass('top_menu_bar_fixed')
	}
});
// infinite scroll
if($('.get-mod-more a').length){
	$('.list_content').infiniteScroll({
	  path: '.get-mod-more a',
	  append: 'section',
	  status: '.scroller-status',
	  history:false
	});
}
})(jQuery);
</script>

<?php echo ztmao('ztmao_statistics_code');?>
<?php wp_footer();?>